package com.phs.main.web.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 服务表
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "ServicesTable对象", description = "服务表")
public class ServicesTable implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "服务编号", hidden = true)
	@TableId(value = "s_ID", type = IdType.AUTO)
	private Long sId;

	@ApiModelProperty(value = "业主姓名")
	private String userName;

	@ApiModelProperty(value = "业主编号")
	@TableField("user_ID")
	private Long userId;

	@ApiModelProperty(value = "业主房产编号")
	@TableField("house_ID")
	private Long houseId;

	@ApiModelProperty(value = "业主的需求详情")
	private String requireDetail;

	@ApiModelProperty(value = "业主电话号码")
	private String phone;

	@ApiModelProperty(value = "提交时间")
	@TableField("s_time")
	private LocalDateTime sTime;

	@ApiModelProperty(value = "服务人员姓名")
	@TableField("s_name")
	private String sName;

	@ApiModelProperty(value = "服务人员电话")
	@TableField("s_phone")
	private String sPhone;

	@ApiModelProperty(value = "服务状态")
	@TableField("s_status")
	private Integer sStatus;

	@ApiModelProperty(value = "服务详情")
	@TableField("s_detail")
	private String sDetail;

	@ApiModelProperty(value = "服务验收")
	@TableField("s_check")
	private Integer sCheck;

	@ApiModelProperty(value = "服务评价")
	@TableField("s_evaluate")
	private Integer sEvaluate;

	@ApiModelProperty(value = "服务类型")
	private Integer serviceType;


}
